#include <dolphin/ip.h>
#define ETH_ALEN 6 // Ethernet address length
void IPGetMacAddr( IPInterface* interface, u8* mac );
IPGetMacAddr() gets the MAC (media access control) address of the specified interface.
interface |
Pointer to IPInterface to get the the MAC address. Use
NULL to specify the default network interface. |
mac |
Pointer to array[ETH_ALEN] of u8 that receives the Ethernet
MAC address. |
None.